package com.yupi.lkzyoj.model.dto.questionsubmit;

import com.baomidou.mybatisplus.annotation.TableField;
import com.yupi.lkzyoj.common.PageRequest;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 查询题目请求
 *
 * @author
 * @from
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class QuestionSubmitQueryRequest extends PageRequest implements Serializable {


    /**
     * 代码语言
     */
    private String language;

    /**
     * 题目id
     */
    private Long questionId;

    /**
     * 用户id
     */
    private Long userId;


    /**
     * 提交状态
     * 0-待判题 1-判题中 2-成功 3-失败
     */
    private Integer status;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}